# for j in range(1, 9):  # j代表的是行数，外层循环
#     for i in range(1, j + 1):  # i代表的列数，内层循环
#         print("*", end='')
#     print()
# for j in range(1, 10):  # j代表的是行数，外层循环
#     for i in range(1, j + 1):  # i代表的列数，内层循环
#         print(i,"*",j,"=",i*j, end='\t')
#     print()
i = 1
while i <= 9:
    j = 1
    while j <= i:
        print(j, "*", i, "=", i * j, end='\t')
        j += 1
    i += 1
    print()
